package demo.factory;

import demo.product.pad.XiaomiPad;
import demo.product.pad.Pad;
import demo.product.phone.Phone;
import demo.product.phone.XiaomiPhone;

/**
 * 小米之家
 * @author ZhouWeiBo
 * @create 2022/6/6
 */
public class XiaomiFansClub extends Shop{
    @Override
    public Phone sellPhone() {
        System.out.println("感谢您来到 [小米之家] 购买 [小米手机] !");
        return new XiaomiPhone();
    }

    @Override
    public Pad sellPad() {
        System.out.println("感谢您来到 [小米之家] 购买 [小米平板] !");
        return new XiaomiPad();
    }
}
